package learn;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by Lenovo
 * DATA:2023/10/28
 * JDK提供的快速创建线程的方法。
 **/
public class PoolTest02 {
    public static void main(String[] args) {
        ExecutorService executorService = Executors.newFixedThreadPool(5);//参数是核心线程的数量。

    }
}
